<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="zh-cn">
  <head>
    <base href="<%=basePath%>">
    
    <title>课堂考勤系统</title> 
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" href="css/pintuer.css">
    <link rel="stylesheet" href="css/admin.css">
    <link rel="shortcut icon" href="images/logo.jpg">
    <script src="js/jquery.js"></script>   

  </head>
  
 <body style="background-color:#f2f9fd;">
<div class="header bg-main">
  <div class="logo margin-big-left fadein-top">
    <h1><img src="images/logo.jpg" class="radius-circle rotate-hover" height="50" alt="" />课堂考勤系统</h1>
  </div>
  <div class="head-l" ><a href="" target="_blank" style="color:#FFF" ><span class="icon-user"></span> 欢迎 ${LoginUser} </a>&nbsp;&nbsp;
  <a class="button button-little bg-green" href="" target="_blank" >
  <span class="icon-home"></span> 首页</a> &nbsp;&nbsp;<a class="button button-little bg-red" href="login.jsp">
  <span class="icon-power-off"></span> 退出登录</a> </div>
</div>
<div class="leftnav">
  <div class="leftnav-title"><strong><span class="icon-list"></span>菜单列表</strong></div>
  
  
  <h2><span class="icon-user"></span>基本设置</h2>
  <ul style="display:block">
    <li><a href="UserAction_openAdd" target="right"><span class="icon-caret-right"></span>添加用户</a></li>
    <li><a href="UserAction_list" target="right"><span class="icon-caret-right"></span>用户管理</a></li>  
  </ul>   
 <h2><span class="icon-wrench"></span>班级管理</h2>
  <ul>
    <li><a href="ClassesAction_openAdd" target="right"><span class="icon-caret-right"></span>录入班级</a></li>
    <li><a href="ClassesAction_list" target="right"><span class="icon-caret-right"></span>查询班级</a></li>     
  </ul>
  <h2><span class="icon-user"></span>学生管理</h2>
  <ul>
    <li><a href="StudentAction_openAdd" target="right"><span class="icon-caret-right"></span>添加学生</a></li>
    <li><a href="StudentAction_list" target="right"><span class="icon-caret-right"></span>学生管理</a></li>      
  </ul>
   <h2><span class="icon-user"></span>课堂考勤</h2>
  <ul>
    <li><a href="SignAction_openAllSign" target="right"><span class="icon-caret-right"></span>全部考勤签到</a></li>
    <li><a href="SignAction_openRandomSign" target="right"><span class="icon-caret-right"></span>随机考勤签到</a></li>  
    <li><a href="SignAction_list" target="right"><span class="icon-caret-right"></span>签到情况</a></li>  
  </ul> 
    <h2><span class="icon-pencil-square-o"></span>课程管理</h2>
  <ul>
    <li><a href="CourseAction_openAdd" target="right"><span class="icon-caret-right"></span>添加课程</a></li>
    <li><a href="CourseAction_list" target="right"><span class="icon-caret-right"></span>课程管理</a></li>        
  </ul>  
  
</div>
<script type="text/javascript">
$(function(){
  $(".leftnav h2").click(function(){
	  $(this).next().slideToggle(200);	
	  $(this).toggleClass("on"); 
  })
  $(".leftnav ul li a").click(function(){
	    $("#a_leader_txt").text($(this).text());
  		$(".leftnav ul li a").removeClass("on");
		$(this).addClass("on");
  })
});
</script>
<ul class="bread">
  <li><a href="<%= basePath%>/014/index.html" target="right" class="icon-home"> 首页</a></li>
  <li><a href="<%= basePath%>/014/index.html" id="a_leader_txt">欢迎界面</a></li>
  <li><b>当前语言：</b><span style="color:red;">中文</php></span>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;切换语言：<a href="##">中文</a> &nbsp;&nbsp;<a href="##">英文</a> </li>
</ul>
<div class="admin">
  <iframe scrolling="auto" rameborder="0" src="<%= basePath%>/014/index.html" name="right" width="100%" height="100%"></iframe>
</div>
<div style="text-align:center;">
<p>来源:<a href="http://www.mycodes.net/" target="_blank">源码之家</a></p>
</div>
</body>
</html>
